package com.gang.mars.tomcat.aliasFor;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.core.annotation.AnnotationUtils;

/**
 * 参考：https://blog.csdn.net/zzuhkp/article/details/107748781
 * @Author：gang.chen
 * @Date：2023/5/9 9:11
 */

@SpringBootApplication(scanBasePackages = {"com.gang.mars.tomcat"})
public class GSpringbootApplication {

    public static void main(String[] args) {

        ComponentScan annotation = AnnotationUtils.getAnnotation(GSpringbootApplication.class, ComponentScan.class);

        System.out.println(annotation);
    }
}
